package Homework;

import java.io.Serializable;

//会员类
public class Member implements Serializable{
//会员属性  姓名   密码
	private String name;
	private String password;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Member(String name, String password) {
		super();
		this.name = name;
		this.password = password;
	}
	public Member() {
		super();
	}
	@Override
	public String toString() {
		return "用户名：" + name +  ", 密码：" + password;
	}
	
}
